Theory and Practice of Chunked Sequences

نویسندگان

  • Umut A. Acar
  • Arthur Charguéraud
  • Mike Rainey
چکیده

Sequence data structures, i.e., data structures that provide operations on an ordered set of items, are heavily used by many applications. For sequence data structures to be efficient in practice, it is important to amortize expensive data-structural operations by chunking a relatively small, constant number of items together, and representing them by using a simple but fast (at least in the small scale) sequence data structure, such as an array or a ring buffer. In this paper, we present chunking techniques, one direct and one based on bootstrapping, that can reduce the practical overheads of sophisticated sequence data structures, such as finger trees, making them competitive in practice with specialpurpose data structures. We prove amortized bounds showing that our chunking techniques reduce runtime by amortizing expensive operations over a user-defined chunk-capacity parameter. We implement our techniques and show that they perform well in practice by conducting an empirical evaluation. Our evaluation features comparisons with other carefully engineered and optimized implementations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

LEARNER INITIATIVES ACROSS QUESTION-ANSWER SEQUENCES: A CONVERSATION ANALYTIC ACCOUNT OF LANGUAGE CLASSROOM DISCOURSE

This paper investigates learner-initiated responses to English language teachers’ referential questions and learner initiatives after teachers’ feedback moves in meaning-focused question-answer sequences to analyze how interactional practices of language teachers, their initiation and feedback moves, facilitate learner initiatives. Classroom discourse research has largely neglected learner init...

متن کامل

A Critical View on New Urbanism Theory in Urban Planning: From Theory to Practice

In the wake of Jacobs’s criticisms of planning, planners increasingly felt a level of angst over, or even responsibility for, the condition of the city. Schooled in preparing and implementing plans and land use regulations, they appreciated the appeal of a new movement that offered a simple, tangible, and marketable recipe for practice. New urbanism theory is one of the contemporary urban theor...

متن کامل

On Health Policy and Management (HPAM): Mind the Theory-Policy-Practice Gap

We argue that the field of Health Policy and Management (HPAM) ought to confront the gap between theory, policy, and practice. Although there are perennial efforts to reform healthcare systems, the conceptual barriers are considerable and reflect the theory-policy-practice gap. We highlight four dimensions of the gap: 1) the dominance of microeconomic thinking in health policy analysis and desi...

متن کامل

بازاندیشی نسبت نظر و عمل در کار معمار، با تکیه بر خوانش گادامر از آراء ارسطو دربارۀ «حکمت عملی»

This paper provides answers to one of the most commonly asked questions in architectural education, which is about the lack of coherence resulting in the separation of theory and practice in architecture, by exploring philosophical concepts and assumptions. A look into Aristotle’s views about practice and theory reveals a new meaning of “practice," dimensions of which have been...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014